// pages/index/index.js
Page({
  data:{
    latitude:30.503269,
    longitude:114.404470,
    circles:[{
      latitude:30.503269,
      longitude:114.404470,
      fillColor:"#8DE2CCAA",
      radius:30
    }],
    markers:[{
      iconPath:"/images/地图.png",
      latitude:30.503269,
      longitude:114.404470,
      width:30,
      height:30,
      title:"西班牙",
      id:0,
      label:{
        content:"西班牙风情街",
        color:"#EE5E78",
        borderColor:"#EE5E78",
        borderWidth:1,
        borderRadius: 5,
        padding:5,
      },
      callout:{
        content:"西班牙风情街",
            color:"#EE5E78",
            borderWidth:1,
            borderColor:"#EE5E78",
            borderRadius: 5,
            padding:5,
      }
    }],
  },
  marker(){
    console.log(1);
  }
});